<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/jsp/sys/css.jsp"%>
<html>
<head>
</head>
<body class="childrenBody">
<style>
    .layui-form-label{
        width: 175px!important;
    }
</style>
<div style="margin:0px; background-color: white; margin:0 10px;" class="search">
    <form class="layui-form layui-form-pane" action="" id="azdbqryForm">
        <div class="layui-tab layui-tab-card">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">记录名称：</label>
                    <div class="layui-input-inline" style="width: 200px;">
                        <input type="text" placeholder="请输入记录名称" class="layui-input search_input" name="s_recordTitle" id="s_recordTitle" >
                    </div>
                </div>

            </div>

            <!-- 按钮组 -->
            <div class="layui-form-item large searchBtns">
                <div class="layui-btn-group">
                    <a class="layui-btn onQuery">查询</a>
                    <button type="reset" class="layui-btn">重置</button>
                </div>
                <%-- <div class="layui-btn-group">
                     <a class="layui-btn onAdd">新增</a>
                 </div>--%>
                <div class="layui-btn-group">

                    <a  class="layui-btn" id="onImportDjpq"><i class="layui-icon"></i>上传收费统计表</a>
                    <%--<a  class="layui-btn" id="onImport2"><i class="layui-icon"></i>导入机队年度计划</a>
                    <a  class="layui-btn" id="onImport3"><i class="layui-icon"></i>导入机队基本信息</a>--%>
                </div>
            </div>
        </div>
    </form>

    <table lay-data="{url:'${pageContext.request.contextPath}/service/dbRecord?recordType=2',page:true}"
           class="layui-table" lay-filter="modelInfo" id="modelInfo">
        <thead>
        <tr>
            <th lay-data="{type:'numbers'}">序号</th>
            <th lay-data="{field:'recordTitle',align:'center'}">记录标题</th>
            <th lay-data="{width:280,field:'createTime',align:'center',templet:'#dateForMat',sort: true}">创建时间</th>
            <th lay-data="{width:288,align:'center',toolbar: '#operator_bar', fixed: 'right'}">操作</th>
        </tr>
        </thead>
    </table>
</div>
<script type="text/html" id="operator_bar">
    <a class="see" lay-event="view">查看对比信息</a>
    <a class="sccz" lay-event="delete">删除</a>
</script>
<script type="text/html" id="dateForMat">
    {{timeStr(d.createTime)}}

</script>
</body>
<script type="text/javascript" src="${pageContext.request.contextPath}/modules/airplaneinfo_db/ctrl/dj_pq_qlj.js"></script>
<script>
    var basePath= "${pageContext.request.contextPath}";
    function timeStr(str) {
        if (str != null && str != undefined && str != "undefined" && str != "") {
            return str.substr(0, 10);
        } else {
            return "";
        }

    }
</script>
</html>
